package com.masterrabbit.masterrabbitapigyf.api;
import com.alibaba.fastjson2.JSONObject;
import com.masterrabbit.masterrabbitapigyf.domain.Coupons;
import org.springframework.amqp.core.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "RemoteTicketInitService",value = "masterrabbit-gyf")
public interface RemoteTicketInitService {
    //初始化优惠券
    @RequestMapping("/ticket/init")
    public String initTickets(@RequestBody JSONObject obj);
}
